package com.six.action.check;

import java.util.List;

import com.opensymphony.xwork2.ActionSupport;
import com.six.biz.ICheckReportBiz;
import com.six.vo.CheckReport;
import com.six.vo.temp.CheckReportDto;
/**
 * 盘点管理 Action
 *包含用户保存盘点记录信息、查询盘点记录、查询库存等请求
 *实现【盘点管理】中【库存盘点】页面的所有功能
 * @author Mr_WF
 */
public class CheckReportAction extends ActionSupport {
	
	private ICheckReportBiz checkBiz;	//盘点管理业务处理接口
	private List<CheckReportDto> cList;		//盘点数据传输层集合
	private List<CheckReport> checkLsi;		//盘点记录列表
	
	private String store;		//仓库编号
	private String customer;	//货主编号
	private String custName;	//货主姓名
	
	public void setCheckBiz(ICheckReportBiz checkBiz) {
		this.checkBiz = checkBiz;
	}
	public void setcList(List<CheckReportDto> cList) {
		this.cList = cList;
	}
	public void setCheckLsi(List<CheckReport> checkLsi) {
		this.checkLsi = checkLsi;
	}
	public void setStore(String store) {
		this.store = store;
	}
	public void setCustomer(String customer) {
		this.customer = customer;
	}
	public void setCustName(String custName) {
		this.custName = custName;
	}
	public ICheckReportBiz getCheckBiz() {
		return checkBiz;
	}
	public List<CheckReportDto> getcList() {
		return cList;
	}
	public List<CheckReport> getCheckLsi() {
		return checkLsi;
	}
	public String getStore() {
		return store;
	}
	public String getCustomer() {
		return customer;
	}
	public String getCustName() {
		return custName;
	}
	
	/**
	 * 保存盘点记录
	 * @return
	 * @throws Exception
	 */
	public String savaCheckReport() throws Exception{
		
		
		
		return SUCCESS;
	}
	
	/**
	 * 【业务查询】查询盘点记录
	 * @return
	 * @throws Exception
	 */
	public String queryCheckList() throws Exception{
		return "queryListGoods";
	}
	
	/**
	 * 根据盘点记录号查询盘点明细
	 * @return
	 * @throws Exception
	 */
	public String queryCheckDetails() throws Exception{
		
		return "";
	}
	
	/**
	 * 库存查询
	 * @return
	 * @throws Exception
	 */
	public String queryStoreStorage() throws Exception{
		
		return "";
	}

}
